import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';

import { PermissionControlEntity } from '../permission-control/permission-control.entity';
import { PermissionEntity } from '../permission/permission.entity';
import { RoleController } from './role.controller';
import { RoleEntity } from './role.entity';
import { RoleService } from './role.service';

@Module({
  imports: [
    TypeOrmModule.forFeature([RoleEntity, PermissionEntity, PermissionControlEntity]),
  ],
  controllers: [RoleController],
  providers: [
    RoleService,
  ],
})
export class RoleModule {

}